package com.platform.service;

import com.platform.dao.ApiMessageMapper;
import com.platform.entity.ApiMessageEntity;
import com.platform.utils.Query;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Service接口
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-07-01 18:59:09
 */
@Service
public class ApiMessageService {
    @Autowired
    private ApiMessageMapper apiMessageMapper;


    public void save(ApiMessageEntity messageEntity) {
        apiMessageMapper.save(messageEntity);
    }

    public List<ApiMessageEntity> queryList(Query query) {
        return apiMessageMapper.queryList(query);
    }
}
